package com.wq.data.order.repository;

import com.wq.api.domain.entity.order.Shop;
import com.wq.api.repository.order.ShopRepository;
import com.wq.data.order.dao.ShopMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * Created by changming.xie on 4/1/16.
 */
@Repository
public class ShopRepositoryImpl implements ShopRepository {

    @Autowired
    ShopMapper shopMapper;

    @Override
    public Shop findById(long id) {

        return shopMapper.findById(id);
    }
}
